package com.hakim.wfb.customer.service.convert;

import com.hakim.wfb.bean.CreditPoint;
import com.hakim.wfb.customer.result.trans.CreditPointView;

/**
 * Created by Administrator on 2017/7/1.
 */
public class CreditPointDtv {

    public static CreditPointView convert(CreditPoint obj) {

        CreditPointView view = new CreditPointView();
        view.setTid(obj.getTid());
        view.setCpUser(obj.getCpUser());
        view.setCpCustPoint(obj.getCpCustPoint());
        view.setCpActivitPoint(obj.getCpActivitPoint());
        view.setCpElecPoint(obj.getCpElecPoint());
        view.setCpOriginalPoint(obj.getCpOriginalPoint());
        view.setCpRepeatPoint(obj.getCpRepeatPoint());
        view.setCpDynamicPoint(obj.getCpDynamicPoint());
        view.setCpStaticPoint(obj.getCpStaticPoint());
        view.setCpAvailableStaticPoint(obj.getCpAvailableStaticPoint());
        view.setCpBenefitLevel(obj.getCpBenefitLevel());
        view.setCpCapitalPoint(obj.getCpCapitalPoint());
        view.setCpInRepeatPoint(obj.getCpInRepeatPoint());
        view.setCpTeamPoint(obj.getCpTeamPoint());
        view.setCpReusablePoint(obj.getCpReusablePoint());
        view.setCpPerformancePoint(obj.getCpPerformancePoint());

        return view;
    }

}
